package com.dz.client.mapper;

import com.dz.client.pojo.UserProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dz
 * @since 2022-03-26
 */
@Mapper
@Repository
public interface UserProductMapper extends BaseMapper<UserProduct> {
     //找到某用户购买的所有产品
    List<Integer> getProductIds(Integer uid);
}
